<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8" %>
  
<%
 Object log = session.getAttribute("logged_in");
 
 if (log == null || ((Boolean) log) == false ) {
   response.sendRedirect("index.jsp");
 }
 

%>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <title>wEvo - Upload new task</title>
 <link rel="stylesheet" href="style.css" type="text/css" />
</head>
<body>
  <h1> wEvo - Distributed Evolutionary Framework</h1> 
  <h2> Upload new task </h2>
 
  <form enctype="multipart/form-data" method="post" action="manager">
  <p>
  <label> Description: </label> <br /> <input type="text" name="desc" /> 
  </p>
  <p>
  <label> File with task: </label> <br /> <input type="file" name="file" /> 
  </p>
  <p>
  <input type="submit" value="upload"/>
  </p>
  </form>
</body>
</html>